<template>
  <div class="meeting-general-view">
    <div class="number-item full">
      <div class="value-block">
        <div class="value">3次</div>
        <div class="value-change">↑20%</div>
      </div>
      <div class="text">召开次数</div>
    </div>
    <div class="number-item">
      <div class="value-block">
        <div class="value">15人</div>
      </div>
      <div class="text">老党员</div>
    </div>
    <div class="number-item">
      <div class="value-block">
        <div class="value">8人</div>
      </div>
      <div class="text">业委会</div>
    </div>
    <div class="number-item">
      <div class="value-block">
        <div class="value">12人</div>
      </div>
      <div class="text">志愿者</div>
    </div>
    <div class="progress-item">
      <div class="name">小区停车管理</div>
      <div class="progress">
        <el-progress :stroke-width="12" define-back-color="#0B2F51" text-color="#1890FF" color="#FE6062" :percentage="45"></el-progress>
      </div>
    </div>
    <div class="progress-item">
      <div class="name">楼道杂物清理</div>
      <div class="progress">
        <el-progress :stroke-width="12" define-back-color="#0B2F51" text-color="#1890FF" color="#FAAD14" :percentage="30"></el-progress>
      </div>
    </div>
    <div class="progress-item">
      <div class="name">邻里纠纷调解</div>
      <div class="progress">
        <el-progress :stroke-width="12" define-back-color="#0B2F51" text-color="#1890FF" color="#1890FF" :percentage="25"></el-progress>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'MeetingGeneralView'
}
</script>
<style scoped lang="scss">
.meeting-general-view{
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
  .number-item{
    width: calc(100%/3 - 10px);
    height: 75px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    &.full{
      width: 100%;
    }
    .value-block{
      display: flex;
      align-items: center;
      justify-content: center;
      .value{
        font-family: 冷酷体;
        color: #32B4FF;
        font-size: 28px;
      }
      .value-change{
        color: #1BBE6B;
        font-size: 14px;
        margin-left: 10px;
      }
    }
    .text{
      color: #fff;
      font-size: 14px;
      margin-top: 5px;
    }
  }
  .progress-item{
    width: 100%;
    display: flex;
    align-items: center;
    margin: 12px 0;
    .name{
      width: 100px;
      color: #fff;
      margin-right: 10px;
      font-family: 冷酷体;
    }
    .progress{
      width: calc(100% - 110px);
    }
  }
}
</style>
